PYTHON = python

.PHONY: all clean tests

all: tests doctests

clean:
	rm -f *.pyc *~

tests:
	for t in *-test.py; do $(PYTHON) $$t; done


doctests:
	@for m in `ls -1 ../src/*.py | sed 's:[.]\{2\}/src/\(.*\)[.]py:\1:'`; \
		do $(PYTHON) genericdoctester.py $$m; \
	done
